package com.weishi.project.training.service.impl;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.weishi.project.training.mapper.AnnualProjectMapper;
import com.weishi.project.training.domain.AnnualProject;
import com.weishi.project.training.service.IAnnualProjectService;

/**
 * annualProjectService业务层处理
 */
@Service
public class AnnualProjectServiceImpl extends ServiceImpl<AnnualProjectMapper, AnnualProject> implements IAnnualProjectService {

    @Autowired
    private AnnualProjectMapper annualProjectMapper;

    /**
     * 查询annualProject列表
     */
    @Override
    public List<AnnualProject> selectAnnualProjectList(AnnualProject annualProject) {
        return annualProjectMapper.selectAnnualProjectList(annualProject);
    }

    @Override
    public AnnualProject selectAnnualProject(Map<String, Object> params) {
        return annualProjectMapper.selectAnnualProject(params);
    }
    public void updateByIdTo(AnnualProject annualProject){

         annualProjectMapper.updateByIdTo(annualProject);
    }


}